package com.base.common.utils;

public class SQLUtil {
	public static String createInStr(String idStr) {
		String[] arrayOfId = idStr.split(",");
		StringBuffer stringBuffer = new StringBuffer();
		for (String proposalId : arrayOfId) {
			stringBuffer.append(",").append("'").append(proposalId).append("'");
		}
		idStr = stringBuffer.toString().replaceFirst(",", "");
		return idStr;
	}
}
